@activeColor: #01ca83;
@activeHoverColor: #01bf7c;
@disabledColor: #bdbdbd;
@iconWrapActiveColor: #fff;
@iconWrapDisabledColor: #f5f5f5;
@publishColor: #2196f3;
.workflowStatusWrap {
  display: flex;
  justify-content: flex-end;
  .publishFlowWrap {
    .publishFlow {
      padding: 0 22px;
      height: 38px;
      line-height: 38px;
      border-radius: 3px;
      cursor: pointer;
      background-color: @publishColor;
      color: #fff;
      text-align: center;
    }
  }
  .refreshFlowWrap {
    .refreshFlow {
      box-sizing: border-box;
      padding: 0 22px;
      line-height: 36px;
      margin-right: 16px;
      border: 1px solid @publishColor;
      color: @publishColor;
      cursor: pointer;
      border-radius: 3px;
      text-align: center;
      font-weight: 600;
      &:hover {
        color: #fff;
        background-color: @publishColor;
      }
    }
  }

  .switchWrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    width: 100px;
    height: 38px;
    cursor: pointer;
    border-radius: 4px;
    color: #fff;
    background-color: @disabledColor;
    &.switchWrap-pending {
      opacity: 0.6;
    }
    &.switchWrap-active {
      background-color: @activeColor;
      &:hover {
        background-color: @activeHoverColor;
      }
    }
    .contentWrap {
      line-height: 38px;
      width: 62px;
      text-align: center;
      transition: all 0.5s;
      font-weight: 600;
      &.contentWrap-close {
        transform: translateX(40px);
      }
    }
    .iconWrap {
      width: 34px;
      height: 34px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 2px;
      background-color: @iconWrapDisabledColor;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0px 2px rgba(0, 0, 0, 0.3);
      border-radius: 3px;
      transition: all 0.5s;
      .workflowSwitchIcon-active {
        color: @activeColor !important;
      }
      &.iconWrap-active {
        background-color: @iconWrapActiveColor;
      }
      &.iconWrap-close {
        transform: translateX(-62px);
      }
    }
  }
}
